<?php
action_gatekeeper('registeroutoflist');

$group_project = $vars ['group_project'];
$semester = $vars ['semester'];
$academic_year = $vars ['academic_year'];


	
	// set the title

	$title = elgg_echo('Đắng kí đề tài ngoài danh sách');

	// start building the main column of the page
	$content = elgg_view_title ( $title );

	// add form
	$content.= elgg_view_form('registeroutlist', null, array(
			'group_guid' => $vars['group_guid'],
			'group_project' => $group_project,
			'semester' => $semester,
			'academic_year' => $academic_year,
			'projectlist_guid' => $vars['projectlist_guid'],
	));

	// optionally, add the content for the sidebar
	$sidebar = "";

	$body = elgg_view_layout ( 'one_sidebar', array (
			'content' => $content,
			'sidebar' => $sidebar
	));

	echo elgg_view_page($title, $body);
	echo $project_guid;

